<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>电话链接示例</title>
</head>
<body>

<script>
    // 检测是否为移动设备
    var isMobile = /iPhone|iPad|iPod|Android/i.test(navigator.userAgent);

    // 根据设备类型动态渲染内容
    if (isMobile) {
        document.write('<a href="tel:10086">电话</a>');
    } else {
        document.write('<p>请手动拨打：10086</p>');
    }
</script>

</body>
</html>